<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv= "X-UA-Compatible" content = "IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>博艺网-商家列表</title>
    <link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/sm.min.css">
    <script type='text/javascript' src='//g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
    <script type='text/javascript' src='http://m.sui.taobao.org/assets/js/zepto.js' charset='utf-8'></script>
    <script type='text/javascript' src='//g.alicdn.com/msui/sm/0.6.2/js/sm.min.js' charset='utf-8'></script>
    <link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/??sm.min.css,sm-extend.min.css">
    <script type='text/javascript' src='//g.alicdn.com/msui/sm/0.6.2/js/??sm.min.js,sm-extend.min.js' charset='utf-8'></script>
    <script type="text/javascript" src="/common/js/jquery-1.8.2.min.js"></script>
</head>

<body>

<div class="content">

<#if bizList?? && (bizList?size>0)>
    <#list bizList as subFunc>

        <div class="card">
            <div class="card-content">
                <div class="list-block media-list">
                    <ul>

                            <li class="item-content">
                                <div class="item-media">
                                    <a href="/weixin/biz_index?user_id=${subFunc.getId()?string}" target="_blank"><img src="http://img.boyitongcheng.com/${subFunc.getAvatar()!''}" width="80px"></a>
                                </div>
                                <div class="item-inner">
                                    <div class="item-title-row">
                                        <div class="item-title"><a href="/weixin/biz_index?user_id=${subFunc.getId()?string}" target="_blank">${subFunc.getCnName()!''}</a>
                                            <#if subFunc.authList??>
                                                <#list subFunc.authList as auth>
                                                    <#if auth.authType == 1>
                                                        <img src="/common/icon/platform.png" width="20px" height="20px" title="平台认证"/>
                                                    <#elseif auth.authType == 2>
                                                        <img src="/common/icon/credit.png" width="20px" height="20px" title="诚信认证"/>
                                                    <#else>
                                                        <#if subFunc.getUserType() == 3 >
                                                            <img src="/common/icon/college.png" width="20px" height="20px" title="学院认证-中级认证"/>
                                                        <#elseif subFunc.getUserType() ==4 >
                                                            <img src="/common/icon/college_team.png" width="20px" height="20px" title="学院认证-一星团队"/>
                                                        </#if>
                                                    </#if>
                                                </#list>
                                            </#if>
                                        </div>
                                    </div>
                                    <div class="item-subtitle">${subFunc.getCity()!''}</div>
                                    <div class="item-subtitle">
                                        <span style="color: #ff6537;font-size: 12px;"><#if subFunc.getBizPrice()??>¥${subFunc.getBizPrice()?string("0.00")}元<#else >报价待定</#if></span>
                                    </div>
                                </div>
                            </li>
                    </ul>
                </div>
            </div>
        </div>

    </#list>
<#else >
无更多数据!
</#if>


    <div class="content-block">
    <#if total gt 0 && totalPage gt 1 && currentPage gt 1>
            <p><a href="/weixin/biz_list?channel_id=<#if channel_id??>${channel_id}</#if>&page=<#if currentPage??>${currentPage-1}<#else>1</#if>" class="button button-fill">上一页</a></p>
    </#if>

<#if total gt 0 && totalPage gt currentPage>
        <p><a href="/weixin/biz_list?channel_id=<#if channel_id??>${channel_id}</#if>&page=<#if currentPage??>${currentPage+1}<#else>1</#if>" class="button button-fill button-success">下一页</a></p>
</#if>
    </div>

</div>


</body>
</html>